package domain.response;

import domain.LyyBaseResponse;
import web.servlet.api.CommandExecutor;

public class CommandResponse extends LyyBaseResponse {
    private CommandExecutor.CommandResult commandResult;

    public CommandExecutor.CommandResult getCommandResult() {
        return commandResult;
    }

    public void setCommandResult(CommandExecutor.CommandResult commandResult) {
        this.commandResult = commandResult;
    }

    @Override
    public String toString() {
        return "CommandResponse{" +
                "commandResult=" + commandResult +
                '}';
    }
}
